package string;

public class StringStringBuilderDemo {

    public static void main(String[] args) {
        /*
        StringBuilder s=new StringBuilder("a");
        for (int i=0;i<1000000;i++){
            s.append(i);
        }
        System.out.println("执行完毕");

     */

    StringBuilder s=new StringBuilder("a");
        for (int i=0;i<1000000;i++){
        s.append(i);
    }
        System.out.println("执行完毕");

    }
}
